package com.pactera.demo.security.filter;


import javax.servlet.ServletRequest;
import java.io.IOException;

/**
 *
 */
public interface LoginPostProcessor {



    /**
     * 获取用户名
     *
     * @param request the request
     * @return the string
     */
    String obtainUsername(ServletRequest request) throws IOException;

    /**
     * 获取密码
     *
     * @param request the request
     * @return the string
     */
    String obtainPassword(ServletRequest request);

}
